package com.skt.common_hr.biztrip_nos.model.vo
{
	[Bindable]
	public class BizTripSummaryVO
	{
		public var GWAREKEY01:String;		// 출장품의번호
		public var GWAREKEY02:String;		// 출장정산번호
		public var TRSTATUS:String;			// 출장진행상태
		public var TRSTATX:String;			// 출장진행상태 명
		public var TRTYPE:String;			// 출장유형
		public var TTEXT:String;			// 출장유형 명
		public var BEGDA:Date;				// 시작일
		public var ENDDA:Date;				// 종료일
		public var TRTITLE:String = "";			// 출장제목
		public var BTEXT:String;			// Posting Log
		public var MNUM:int;				// 동반출장자수
		public var TRPAYC:String = "";			// 정산상태
		public var TRCONV:String;			// 품의 변경 여부
		public var IPERNR:String;			// 기안자
		public var TRTEXT:String;			// 반려사유
		public var PURPOSE:String;			// 출장목적
					
		public function get status():String
		{
			if(TRSTATX==null || TRSTATX=="") {
				return "";
			}
			else {
				return "("+TRSTATX+")";
			}
		}
		public function set status(s:String):void{
			
		}
		public function clone():BizTripSummaryVO
		{
			var vo:BizTripSummaryVO = new BizTripSummaryVO;
			vo.GWAREKEY01	= this.GWAREKEY01;
			vo.GWAREKEY02 	= this.GWAREKEY02;
			vo.TRSTATUS 	= this.TRSTATUS;
			vo.TRSTATX 		= this.TRSTATX;
			vo.TRTYPE 		= this.TRTYPE;
			vo.TTEXT 		= this.TTEXT;
			vo.BEGDA 		= this.BEGDA;
			vo.ENDDA 		= this.ENDDA;
			vo.TRTITLE 		= this.TRTITLE;
			vo.BTEXT 		= this.BTEXT;
			vo.MNUM 		= this.MNUM;
			vo.TRPAYC 		= this.TRPAYC;
			vo.TRCONV 		= this.TRCONV;
			vo.IPERNR 		= this.IPERNR;
			vo.TRTEXT 		= this.TRTEXT;
			vo.PURPOSE		= this.PURPOSE;
			return vo;
		}
	}
}